package com.hnxxxy.sysmgr.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @CLASSDESCRIPER:
 * @AUTHOR:suhui
 * @PHONE:13319575368
 * @EMIAL:13319575368@163.COM
 * @DATE: 2020/4/19
 * @PARAMDESCRIPER:
 * @OUTPARAMDESCRIPER:
 */
@Data
public class Staff implements Serializable {

    private Integer id;

    private Integer userid;

    private String name;

    private String loginname;

    private String pwd;

    private String email;

    private String phonenumber;

    private Integer department;

    private Integer position;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;

    private String salt;
}
